<include file="public@head_meet_show"/>

<div class="cl10"></div>
    <div class="divc w980">
        <div class="fl m_l">
            <div class="box time">

                <div class="c">


                    <div class="tit">会议日期</div>
                    <p style="padding-left: 20px">
                        {$meet.start_time|date='Y年m月d日',###}-{$meet.end_time|date='m月d日',###}
                    </p>
                    <div class="tit">征文投稿截止日期</div>
                    <p style="padding-left: 20px">{$meet.register_end_time|date='Y年m月d日',###}
                    </p>
                    <div class="tit">网上注册截止日期</div>
                    <p style="padding-left: 20px">{$meet.register_end_time|date='Y年m月d日',###}</p>
                    <div class="tit">现场报到日期</div>
                    <p style="padding-bottom: 0px; padding-left: 20px">{$meet.signed_time|date='Y年m月d日',###}</p>


                </div>
            </div>

            <div class="cl10"></div>

            <div class="box l1">
                <div class="t">组织机构</div>
                <div class="c">
                    {$meet.zhuzhi_info|htmlspecialchars_decode}
                    <p>
                        <span style="font-size:12px;"></span>&nbsp;
                    </p>

                </div>
            </div>

        </div>
        <div class="m_m fl pl10">


            <div class="cl10"></div>
            <div class="news l2">
                <div class="panel">


                    <div class="t">会议简介</div>
                    <div class="c">
                        <div>
                            <span>{$meet.info|htmlspecialchars_decode}</span>
                        </div>
                    </div>

                </div>

                <div class="panel">
                    <div class="t"><a href="{:cmf_url('meeting/index/articles',['mid'=>$meet.id])}" target="_blank" class="more">更多>></a>会议动态</div>
                    <div class="c f14">
                        <ul>
                            <foreach name="$articles" item="item">
                                <li>
                                    ·<a href="{:cmf_url('meeting/index/article',['id'=>$item.id])}" target="_blank" title="{$item.title}"
                                        style="color:red;font-weight:bold;">
                                    {$item.title}
                                </a>
                            </foreach>

                            </li>
                        </ul>
                    </div>


                </div>
            </div>
        </div>


        <div class="fl m_l pl10">
            <div class="deadtime">

                <div class="cl"></div>
                <div class="t">
                    距离会议开幕还有
                </div>
                <ul class="daojishi-p">
                    <script>
                        function lxfEndtime() {
                            $(".daojishi-p").each(function () {
                                var endtime = new Date({$meet.end_time * 1000}).getTime();//取结束日期(毫秒值)
                                var endtime2 = new Date({$meet.end_time * 1000}).getTime();//取结束日期(毫秒值)

                                var lxfday = $(this).attr("lxfday");//用来判断是否显示天数的变量

                                var nowtime = new Date().getTime();        //今天的日期(毫秒值)
                                var youtime = endtime - nowtime;//还有多久(毫秒值)
                                var seconds = youtime / 1000;
                                var minutes = Math.floor(seconds / 60);
                                var hours = Math.floor(minutes / 60);
                                var days = Math.floor(hours / 24);
                                var CDay = days;
                                var CHour = hours % 24;
                                var CMinute = minutes % 60;
                                var CSecond = Math.floor(seconds % 60);

                                if (days < 0) {
                                    days = 0;
                                }
                                if (CHour < 0) {
                                    CHour = 0;
                                }
                                if (CMinute < 0) {
                                    CMinute = 0;
                                }
                                if (CSecond < 0) {
                                    CSecond = 0;
                                }
                                if (days == 0 && CHour == 0 && CMinute == 0 && CSecond == 0) {
                                    if (endtime < nowtime && endtime2 > nowtime)
                                        $(this).html("<div class='f16 tc'>会议进行中</div>");
                                    else
                                        $(this).html("<div class='f16 tc'>会议已结束</div>");
                                }
                                else {
                                    $(this).html("<li><span id='date'>" + days + "</span></li><li><span id='hours'>" + CHour + "</span></li><li><span id='mins'>" + CMinute + "</span></li><li><span id='secs'>" + CSecond + "</span></li>");
                                }
                            });
                            setTimeout("lxfEndtime()", 1000);
                        };
                        $(function () {
                            lxfEndtime();
                        });
                    </script>

                </ul>
                <div class="c">
                    <if condition="$meet.person_status == 1">
                        <a href="{:cmf_url('user/register/index')}?type=person" target="_self" class="but">个人代表注册</a>
                    </if>
                    <if condition="$meet.unit_status == 1">
                        <a href="{:cmf_url('user/register/index')}?type=company" target="_self" class="but">单位代表注册</a>
                    </if>
                </div>

            </div>
            <div class="cl10"></div>
            <div class="box l3">


                <div class="t">联系我们</div>
                <div class="c">
                   {:htmlspecialchars_decode($meet.contact_info)}
                </div>

            </div>
        </div>
    </div>

    <div class="cl10"></div>


    <div class="cl10"></div>

    <div class="cl10"></div>

    <div class="cl10"></div>
    <div class="footer">
        <div class="c">


            <div style="text-align:center;clear:both;margin:0px auto;padding:10px 0px; font-family:Microsoft YaHei;">

            </div>
            <div class="cl"></div>
        </div>
    </div>
</div>
<div style="display:none">
    <script type="text/javascript">
        $(".setbg").parent().addClass("pr");
        $(".setbg").parent().hover(function () {
                $(this).find(".setbg").show()
            }
            , function () {
                $(this).find(".setbg").hide()
            }
        );

        $(document).ready(function () {
            var maxh = 0;
            var height1 = $(".l1").height() + $(".time").height();
            var height2 = $(".l2").height() + $(".slideBox").height();
            var height3 = $(".l3").height() + $(".deadtime").height();
            var oa = [height1, height2, height3];
            oa.sort(function (a, b) {
                return a - b;
            });
            maxh = oa[oa.length - 1];
            $(".l1").height(maxh - $(".time").height());
            $(".l2").height(maxh - $(".slideBox").height());
            $(".l3").height(maxh - $(".deadtime").height());

            var d = new Date();
            var y = d.getFullYear();// 年
            var m = d.getMonth() + 1;//月
            var ds = d.getDate();//日

            var day = "今天是" + y + "年" + m + "月" + ds + "日"
            $("#showtime").html(day);
        });
    </script>


</div>
</body>

<script type="text/javascript" src="__TMPL__/public/assets/js/co.js"></script>
<script src="__TMPL__/public/assets/js/tongji.js" type="text/javascript"></script>

</html>
